#ifndef ADDALERT_H
#define ADDALERT_H

#include <QDialog>
#include <QMessageBox>
#include "alert.h"
#include "ui_addalert.h"

class AddAlert : public QDialog, Ui::AddAlert
{
    Q_OBJECT
    
private:
    Alert a;
public:
    AddAlert();
signals:
    void on_addAlertCancelButton_clicked();
    void on_addAlertAcceptButton_clicked();
    void add(Alert);
public slots:
    void construct();
    void checkRecurring(QString);
};

#endif // ADDALERT_H
